/**
 * author : zhupinglei || 344184416@qq.com;
 * desc : base
 */

/*---------------------- css reset ----------------------*/
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, a, blockquote, th, i, u {
  margin: 0;
  padding: 0;
  border: 0;
}

ol, ul {
  list-style: none;
}

u, i {
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0px;
}

fieldset, img {
  border: 0;
}

a, img {
  -webkit-touch-callout: none; /* 禁止长按链接与图片弹出菜单 */
  text-decoration: none;
}

img {
  height: auto;
}

html, body {
  width: 100%;
  height: 100%;
  -webkit-user-select: none; /* 禁止选中文本（如无文本选中需求，此为必选项） */
  user-select: none;
}

body {
  color: #333;
  /*background-color: #F0EFF5;*/
  background-color: #FFFFFF;
  font-family: 'Static-Bold', 'Microsoft Yahei', 'Hiragino Sans GB', 'Arial', 'sans-serif';
  font-size: 12px;
}

input, select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

/*清除浮动*/
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}

/* End hide from IE-mac */

/* 2017-3-25 11:54:13; cqw */
.c-footer {
  height: 52px;
  display: none;
}

.c-f-menu {
  position: fixed;
  left: 0;
  bottom: 0;
  height: 50px;
  width: 100%;
  z-index: 2;
  background: #77A22E;
}

.c-f-menu a {
  width: 33.3333%;
  float: left;
  height: 20px;
  padding: 15px 0;
  color: #fff;
  text-align: center;
  font-size: 12px;
}

.c-f-menu.i5 a {
  width: 20%;
}

.c-f-menu a:nth-child(2n) {
  background: #688C28;
}

/* ------ 2017-5-3 15:34:08 合并样式; ------- */
.private-nav {
  background-color: #fff;
}

.private-nav li {
  display: block;
  overflow: hidden;
  padding: 0 3.333%;
  margin-bottom: 3.333%;
}

.loading-dialog {
  background: #fff none repeat scroll 0 0;
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
}

.loading-dialog div {
  font-size: 14px;
  left: 0;
  position: absolute;
  text-align: center;
  top: 50%;
  width: 100%;
}

.loading-dialog .box {
  left: 50%;
  margin-left: -55px;
  margin-top: -35px;
  position: fixed;
  text-align: center;
  top: 50%;
  width: 110px;
}

.loading-dialog .img {
  background: url("/app/modules/wap/views/direct/assets/img/loading.gif?2014") no-repeat scroll center center;
  height: 30px;
  width: 100%;
}

.db {
  display: block;
}

.w50 {
  width: 50%;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.rel {
  position: relative;
}

.abs {
  position: absolute;
}

.hide {
  display: none !important;
}

/* ----- 2017-5-3 15:44:29 屏蔽底部之前增加的菜单，因新建外部菜单的需求; ----- */
.footer_btn {
  display: none;
}

.direct-footer {
  position: fixed;
  width: 100%;
  height: 50px;
  background: #F7F7FA;
  left: 0;
  bottom: 0;
  z-index: 9;
}

.direct-footer::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 1px;
  border-top: 1px solid #C0BFC4;
  color: #C0BFC4;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
}

.direct-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}

.direct-footer .direct-item {
  display: block;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  padding: 5px 0;
  font-size: 0;
  color: #999999;
  text-align: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.direct-footer .direct-item.on {
  color: #00a2ff;
}

.direct-footer.lansur .direct-item.on {
  color: #f2c582;
}

.direct-footer .direct-icon {
  display: block;
  font-size: 20px;
  line-height: 24px;
}

.direct-footer .direct-item p {
  font-size: 10px;
  line-height: 16px;
}

.ql-editor {
  line-height: normal;
}

.ql-editor img {
  max-width: 100%;
}

.jiayou-input-style .van-field__control {
  color: #FA6400;
}
